﻿using Hehq.Thirdservice.Wx.Services.Mp.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using Infrastructure.http;

namespace Hehq.Thirdservice.Wx.Services.Mp
{
    public interface ILoginService: IService
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="code"></param>
        /// <param name="appId"></param>
        /// <param name="secret"></param>
        /// <returns></returns>
        public LoginSuccess ByCode(string code, string appId, string secret);

        /// <summary>
        /// 解密前端登录手机号
        /// </summary>
        /// <param name="userRepParamrep"></param>
        /// <returns></returns>
        public string GetPhoneNumber(UserRepParamrep userRepParamrep);
    }
}
